public class InterfaceTest {
    public static void main(String[] args) {
        System.out.println(Speed.Min_Speed);
        System.out.println(Speed.Max_Speed);
        Speed S1 = new plane();
        //多态
    }
}
interface Speed{
    public static final int Min_Speed = 0;
    //写不写一样
    int Max_Speed = 10086;
    public abstract void fly();
    //可以省略
    void fly2();
}
interface attack{
    void attack2();


}
class plane implements Speed{
    @Override
    public void fly() {
    }
    @Override
    public void fly2() {
    }
}
abstract class Tun implements Speed,attack{

}
interface AA{
    void method1();
}
interface BB{
    void method2();
}
interface CC extends AA,BB{
    void method3();
}